﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace PsqlDotnet.Enums
{
    [Flags]
    public enum UserPermissionFlags
    {
        None = 0x0,

        /// <summary>
        /// User can create databases
        /// </summary>
        CreateDb = 0x1,

        /// <summary>
        /// User can create new users
        /// </summary>
        CreateUser = 0x2,

        /// <summary>
        /// User can't create databases
        /// </summary>
        NoCreateDb = 0x4,

        /// <summary>
        /// User can't create new users
        /// </summary>
        NoCreateUser = 0x8
    }
}
